home *** CD-ROM | disk | FTP | other *** search
- Date: Mon, 30 May 1994 15:26:09 -0400 (EDT)
- From: Timothy Miller <millert@undergrad.csee.usf.edu>
- Subject: Re: Colour.
- To: gem-list@world.std.com
- In-Reply-To: <199405301248.OAA04275@blade.stack.urc.tue.nl>
- Message-Id: <Pine.3.87.9405301509.A17681-0100000@undergrad>
- Mime-Version: 1.0
- Precedence: bulk
-
-
-
- On Mon, 30 May 1994, Erlend Nagel wrote:
-
- > Timothy Miller wrote:
- >
- > > Are you sure programmers are going to want to put forth that effort?
- > > It's much easier to just stick together your palette. How about someone
- > > write a library routine that, given a new palette, sorts them with respect
- > > to the palette in place?
- >
- > I don't think that just a library routine is good enough for this
- > purpose. I think a better solution would be to have colour handling
- > installed as a cookie or something like that and only have library
- > routines as a mapping. That way the functions can easily be upgraded and
- > older programs will be able to use newer implementations of the colour
- > handling. I could imagine that earlier versions would not have
- > sufficient locking facilities, so that no two programs change the same
- > colour at once, but that later ones do. Having a common routine would
- > also save a little bit of memory in a multitasking environment.
- >
- > Erlend.
- >
-
- A cookie would be ok, except that you'd then have to make library
- routines for each of the commonly used compilers for accessing the
- routines, etc. You'd have to be sure to make this really simple of
- people won't use it.
-
-
-